home *** CD-ROM | disk | FTP | other *** search
/ IRIX Base Documentation 1998 November / IRIX 6.5.2 Base Documentation November 1998.img / usr / share / catman / g_man / cat3 / OpenGL-ftn / fglmatrixmode.z / fglmatrixmode
Text File  |  1998-10-20  |  6KB  |  133 lines

  1.  
  2.  
  3.  
  4. ffffggggllllMMMMaaaattttrrrriiiixxxxMMMMooooddddeeee((((3333GGGG))))              OOOOppppeeeennnnGGGGLLLL RRRReeeeffffeeeerrrreeeennnncccceeee              ffffggggllllMMMMaaaattttrrrriiiixxxxMMMMooooddddeeee((((3333GGGG))))
  5.  
  6.  
  7.  
  8. NNNNAAAAMMMMEEEE
  9.      ffffggggllllMMMMaaaattttrrrriiiixxxxMMMMooooddddeeee - specify which matrix is the current matrix
  10.  
  11.  
  12. FFFFOOOORRRRTTTTRRRRAAAANNNN SSSSPPPPEEEECCCCIIIIFFFFIIIICCCCAAAATTTTIIIIOOOONNNN
  13.      SUBROUTINE ffffggggllllMMMMaaaattttrrrriiiixxxxMMMMooooddddeeee( INTEGER*4 _m_o_d_e )
  14.  
  15.  
  16. PPPPAAAARRRRAAAAMMMMEEEETTTTEEEERRRRSSSS
  17.      _m_o_d_e  Specifies which matrix stack is the target for subsequent matrix
  18.            operations.  Four values are accepted:  GGGGLLLL____MMMMOOOODDDDEEEELLLLVVVVIIIIEEEEWWWW,
  19.            GGGGLLLL____PPPPRRRROOOOJJJJEEEECCCCTTTTIIIIOOOONNNN, GGGGLLLL____TTTTEEEEXXXXTTTTUUUURRRREEEE, and GGGGLLLL____CCCCOOOOLLLLOOOORRRR (if and only if the
  20.            SSSSGGGGIIII____ccccoooolllloooorrrr____mmmmaaaattttrrrriiiixxxx extension is supported).  The initial value is
  21.            GGGGLLLL____MMMMOOOODDDDEEEELLLLVVVVIIIIEEEEWWWW.
  22.  
  23. DDDDEEEESSSSCCCCRRRRIIIIPPPPTTTTIIIIOOOONNNN
  24.      ffffggggllllMMMMaaaattttrrrriiiixxxxMMMMooooddddeeee sets the current matrix mode.  _m_o_d_e can assume one of four
  25.      values:
  26.  
  27.      GGGGLLLL____MMMMOOOODDDDEEEELLLLVVVVIIIIEEEEWWWW        Applies subsequent matrix operations to the modelview
  28.                          matrix stack.
  29.  
  30.      GGGGLLLL____PPPPRRRROOOOJJJJEEEECCCCTTTTIIIIOOOONNNN       Applies subsequent matrix operations to the
  31.                          projection matrix stack.
  32.  
  33.      GGGGLLLL____TTTTEEEEXXXXTTTTUUUURRRREEEE          Applies subsequent matrix operations to the texture
  34.                          matrix stack.
  35.  
  36.      GGGGLLLL____CCCCOOOOLLLLOOOORRRR            Applies subsequent matrix operations to the color
  37.                          matrix stack.  This option is available only if the
  38.                          SSSSGGGGIIII____ccccoooolllloooorrrr____mmmmaaaattttrrrriiiixxxx extension is supported.
  39.  
  40.      To find out which matrix stack is currently the target of all matrix
  41.      operations, call ffffggggllllGGGGeeeetttt with argument GGGGLLLL____MMMMAAAATTTTRRRRIIIIXXXX____MMMMOOOODDDDEEEE. The initial value
  42.      is GGGGLLLL____MMMMOOOODDDDEEEELLLLVVVVIIIIEEEEWWWW.
  43.  
  44. EEEERRRRRRRROOOORRRRSSSS
  45.      GGGGLLLL____IIIINNNNVVVVAAAALLLLIIIIDDDD____EEEENNNNUUUUMMMM is generated if _m_o_d_e is not an accepted value.
  46.  
  47.      GGGGLLLL____IIIINNNNVVVVAAAALLLLIIIIDDDD____OOOOPPPPEEEERRRRAAAATTTTIIIIOOOONNNN is generated if ffffggggllllMMMMaaaattttrrrriiiixxxxMMMMooooddddeeee is executed between
  48.      the execution of ffffggggllllBBBBeeeeggggiiiinnnn and the corresponding execution of ffffggggllllEEEEnnnndddd.
  49.  
  50. AAAASSSSSSSSOOOOCCCCIIIIAAAATTTTEEEEDDDD GGGGEEEETTTTSSSS
  51.      ffffggggllllGGGGeeeetttt with argument GGGGLLLL____MMMMAAAATTTTRRRRIIIIXXXX____MMMMOOOODDDDEEEE
  52.  
  53.  
  54. MMMMAAAACCCCHHHHIIIINNNNEEEE DDDDEEEEPPPPEEEENNNNDDDDEEEENNNNCCCCIIIIEEEESSSS
  55.      RealityEngine, RealityEngine2, and VTX systems do not support color
  56.      matrix transformations on images as they are loaded to or read back from
  57.      texture memory.
  58.  
  59.  
  60.  
  61.  
  62.  
  63.                                                                         PPPPaaaaggggeeee 1111
  64.  
  65.  
  66.  
  67.  
  68.  
  69.  
  70. ffffggggllllMMMMaaaattttrrrriiiixxxxMMMMooooddddeeee((((3333GGGG))))              OOOOppppeeeennnnGGGGLLLL RRRReeeeffffeeeerrrreeeennnncccceeee              ffffggggllllMMMMaaaattttrrrriiiixxxxMMMMooooddddeeee((((3333GGGG))))
  71.  
  72.  
  73.  
  74. SSSSEEEEEEEE AAAALLLLSSSSOOOO
  75.      ffffggggllllLLLLooooaaaaddddMMMMaaaattttrrrriiiixxxx, ffffggggllllMMMMaaaattttrrrriiiixxxxMMMMooooddddeeee, ffffggggllllPPPPiiiixxxxeeeellllTTTTrrrraaaannnnssssffffeeeerrrr (for information about the
  76.      color matrix stack), ffffggggllllPPPPuuuusssshhhhMMMMaaaattttrrrriiiixxxx
  77.  
  78.  
  79.  
  80.  
  81.  
  82.  
  83.  
  84.  
  85.  
  86.  
  87.  
  88.  
  89.  
  90.  
  91.  
  92.  
  93.  
  94.  
  95.  
  96.  
  97.  
  98.  
  99.  
  100.  
  101.  
  102.  
  103.  
  104.  
  105.  
  106.  
  107.  
  108.  
  109.  
  110.  
  111.  
  112.  
  113.  
  114.  
  115.  
  116.  
  117.  
  118.  
  119.  
  120.  
  121.  
  122.  
  123.  
  124.  
  125.  
  126.  
  127.  
  128.  
  129.                                                                         PPPPaaaaggggeeee 2222
  130.  
  131.  
  132.  
  133.